package com.jixiang.tracedata.model.traveller;

import com.jixiang.tracedata.model.common.Hdr;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

import java.io.Serializable;

/**
 * @author quanbiao
 * @date 2018-08-31
 */
@XStreamAlias("AssociatedSegment")
public class AssociatedSegment implements Serializable {

    private static final long serialVersionUID = 7403775646702260745L;

    @XStreamAsAttribute()
    private String Type;

    /**
     * 市场航班
     */
    @XStreamAlias("Carrier")
    private Carrier Carrier;

    /**
     * 承运航班
     */
    @XStreamAlias("OperatingCarrier")
    private OperatingCarrier OperatingCarrier;

    /**
     * 离港信息
     */
    @XStreamAlias("Departure")
    private Departure Departure;

    /**
     * 到港信息
     */
    @XStreamAlias("Arrival")
    private Arrival Arrival;

    /**
     * 舱位信息
     */
    @XStreamAlias("Cabin")
    private Cabin Cabin;

    private Hdr Hdr;

    public com.jixiang.tracedata.model.common.Hdr getHdr() {
        return Hdr;
    }

    public void setHdr(com.jixiang.tracedata.model.common.Hdr hdr) {
        Hdr = hdr;
    }

    public String getType() {
        return Type;
    }

    public void setType(String type) {
        Type = type;
    }

    public com.jixiang.tracedata.model.traveller.Carrier getCarrier() {
        return Carrier;
    }

    public void setCarrier(com.jixiang.tracedata.model.traveller.Carrier carrier) {
        Carrier = carrier;
    }

    public com.jixiang.tracedata.model.traveller.OperatingCarrier getOperatingCarrier() {
        return OperatingCarrier;
    }

    public void setOperatingCarrier(com.jixiang.tracedata.model.traveller.OperatingCarrier operatingCarrier) {
        OperatingCarrier = operatingCarrier;
    }

    public com.jixiang.tracedata.model.traveller.Departure getDeparture() {
        return Departure;
    }

    public void setDeparture(com.jixiang.tracedata.model.traveller.Departure departure) {
        Departure = departure;
    }

    public com.jixiang.tracedata.model.traveller.Arrival getArrival() {
        return Arrival;
    }

    public void setArrival(com.jixiang.tracedata.model.traveller.Arrival arrival) {
        Arrival = arrival;
    }

    public com.jixiang.tracedata.model.traveller.Cabin getCabin() {
        return Cabin;
    }

    public void setCabin(com.jixiang.tracedata.model.traveller.Cabin cabin) {
        Cabin = cabin;
    }
}
